package com.laf.sinaweibo.util;

import java.net.URL;

import weibo4j.Oauth;
import weibo4j.model.WeiboException;

public class AuthUtil {

	private Oauth oauth = new Oauth();
	
	public String authorize(String response_type){
		try {
			return oauth.authorize(response_type);
		} catch (WeiboException e) {
			e.printStackTrace();
		}
		return null;
	}
}
